package com.rizzo.shell.intern.host;

public class SshHost {

    public enum Type {
        WORKER, ACCOUNT, ANALYTIC, REDIS, MYSQL, RABBITMQ
    }

    public enum InfoType {
        LOG, WARN, MEMORY, DISK, PROCESS, PORTS, JAVA, STATS, ALL
    }

    public enum Environment {
        ON, OE, PR
    }

    private String host;
    private int port;
    private long timeOut;
    private String username;
    private String password;
    private Type type;
    private String logfileLocation;
    private Environment environment;

    public SshHost(Environment environment, String host, int port,  long timeOut, String username, String password, Type type, String logfileLocation) {
        this.host = host;
        this.password = password;
        this.port = port;
        this.timeOut = timeOut;
        this.username = username;
        this.type = type;
        this.logfileLocation = logfileLocation;
        this.environment = environment;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public long getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(long timeOut) {
        this.timeOut = timeOut;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public String getLogfileLocation() {
        return logfileLocation;
    }

    public void setLogfileLocation(String logfileLocation) {
        this.logfileLocation = logfileLocation;
    }

    public Environment getEnvironment() {
        return environment;
    }

    public void setEnvironment(Environment environment) {
        this.environment = environment;
    }
}
